using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.CourseTrain.Dtos
{
    /// <summary>
    /// Ilearning请求接口
    /// </summary>
    public class ILearningRequestDto<T>
    {
        /// <summary>
        /// 请求实体
        /// </summary>
        [JsonProperty("body")]
        public T Body { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        [JsonProperty("url")]
        public ILearningToken Url { get; set; }
    }

    public class ILearningToken
    {
        /// <summary>
        /// 用户编码
        /// </summary>
        [JsonProperty("access_token")]
        public string AccessToken { get; set; }
    }
}
